<template>
	<view class="content">
		<image class="logo" v-on:click="change" src="/static/logo.png"></image>
		<view v-if="!raining">今天没下雨，天晴</view>
		<view v-if="raining">下雨了，只能在家了</view>
		<view v-if="state==='vue'">state的值是 Vue</view>
		<view>State is {{state?'vue':'APP'}}</view>
		<view>
			<view v-if="state==='vue'">uni-app</view>
			<view v-else-if="state==='html'">HTML</view>
			<view v-else>APP</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				raining:false,
				state:'vue'
			}
		},
		methods: {
			
		}
	}
</script>

<style>

</style>

